package cn.rwklyd.BookKeeping.constant;

/**
 * 信息提示常量类
 */
public class MessageConstant {

    // ===== 通用消息 =====
    public static final String SUCCESS = "执行成功";
    public static final String FAILED = "执行失败";
    public static final String UNKNOWN_ERROR = "未知错误";
    public static final String PARAM_ERROR = "参数不完整";
    public static final String ALREADY_EXISTS = "已存在";
    
    // ===== 用户认证相关 =====
    public static final String USER_NOT_LOGIN = "用户未登录";
    public static final String TOKEN_EXPIRED = "当前会话过期";
    public static final String LOGIN_FAILED = "登录失败";
    public static final String LOGOUT_SUCCESS = "注销成功";
    public static final String ACCOUNT_NOT_FOUND = "账号不存在";
    public static final String ACCOUNT_LOCKED = "账号被锁定";
    public static final String PASSWORD_ERROR = "密码错误";
    
    // ===== 注册相关 =====
    public static final String REGISTER_SUCCESS = "注册成功";
    public static final String REGISTER_FAILED = "注册失败";
    public static final String USERNAME_NOT_EMPTY = "用户名不能为空";
    public static final String USERNAME_ALREADY_EXISTS = "当前用户名已经存在";
    public static final String PASSWORD_NOT_EMPTY = "密码不能为空";
    public static final String PASSWORD_SAME = "新旧密码相同无需更改";
    
    // ===== 邮箱相关 =====
    public static final String EMAIL_ALREADY_EXISTS = "邮箱已经被注册";
    public static final String EMAIL_CANNOT_BE_EMPTY = "邮箱不能为空";
    public static final String EMAIL_FORMAT_ERROR = "邮箱格式不正确";
    
    // ===== 验证码相关 =====
    public static final String Code_SEND_SUCCESS = "验证码发送成功";
    public static final String Code_SEND_FAILURE = "验证码发送失败";
    
    // ===== 权限相关 =====
    public static final String NO_PERMISSION = "您无权访问该资源";
    public static final String ANONYMOUS_NO_PERMISSION = "匿名用户无权限访问";
    
    // ===== 文件操作相关 =====
    public static final String UPLOAD_FAILED = "文件上传失败";
    public static final String UPLOAD_NOT_EXISTS = "上传文件不存在";
    public static final String SCAN_FAILED = "检测失败";
    
    // ===== 消费记录相关 =====
    public static final String TRANSACTION_CATEGORY_EMPTY = "分类不能为空";
    public static final String TRANSACTION_PLATFORM_EMPTY = "平台不能为空";
    public static final String TRANSACTION_AMOUNT_EMPTY = "金额不能为空";
    public static final String TRANSACTION_AMOUNT_INVALID = "金额必须大于0";
    public static final String TRANSACTION_ID_EMPTY = "记录ID不能为空";
    public static final String TRANSACTION_NOT_FOUND = "记录不存在";
    public static final String TRANSACTION_NO_PERMISSION = "无权操作此记录";
    public static final String TRANSACTION_ADD_SUCCESS = "添加记录成功";
    public static final String TRANSACTION_ADD_FAILED = "添加记录失败";
    public static final String TRANSACTION_UPDATE_SUCCESS = "更新记录成功";
    public static final String TRANSACTION_UPDATE_FAILED = "更新记录失败";
    public static final String TRANSACTION_DELETE_SUCCESS = "删除记录成功";
    public static final String TRANSACTION_DELETE_FAILED = "删除记录失败";

    // ===== 令牌相关 =====
    public static final String TOKEN_INVALID = "无效的令牌";
    public static final String REFRESH_TOKEN_EXPIRED = "身份过期，请重新登录";
}
